package com.wavehi.native_component.web.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

/**
 * @Author WaveHi
 * @Date 15/11/2021 下午 10:12
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
//@WebListener
public class MyListener implements ServletContextListener {

    @Override
    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("ServletContent inits!");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        System.out.println("ServletContext destroys!");
    }
}
